package com.ymatou.iapi.trading.operate.parameter;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

import com.ymatou.iapi.trading.operate.parameter.req.SellerPromotionApportionVo;

/**
 *
 */
public class OrderGroupVo {

	private static final Long serialVersionUID = 8499297289056562238L;
	private Boolean OptimumSeller;
	
	public Boolean getOptimumSeller() {
		return OptimumSeller;
	}

	public void setOptimumSeller(Boolean optimumSeller) {
		OptimumSeller = optimumSeller;
	}

	// 卖家ID
	private int sellerId;

	// 该卖家的所有订单
	private List<OrderVo> orders;

	// 使用的卖家发行的优惠券
	private SellerCouponVo sellerCoupon;

	// 卖家促销信息
	private List<SellerPromotionVo> sellerPromotions;

	//是否是优选买手
	private boolean optimumSeller;

	/**
	 * 卖家促销及分摊信息
	 * 如果<code>sellerPromotionApportions</code>提供，则忽略<code>sellerPromotions</code>参数
	 */
	private List<SellerPromotionApportionVo> sellerPromotionApportions;

	public List<SellerPromotionApportionVo> getSellerPromotionApportions() {
		return sellerPromotionApportions;
	}

	public void setSellerPromotionApportions(
			List<SellerPromotionApportionVo> sellerPromotionApportions) {
		this.sellerPromotionApportions = sellerPromotionApportions;
	}

	public static Long getSerialversionuid() {
		return serialVersionUID;
	}

	public int getSellerId() {
		return sellerId;
	}

	public void setSellerId(int sellerId) {
		this.sellerId = sellerId;
	}

	public List<OrderVo> getOrders() {
		return orders;
	}

	public void setOrders(List<OrderVo> orders) {
		this.orders = orders;
	}

	public SellerCouponVo getSellerCoupon() {
		return sellerCoupon;
	}

	public void setSellerCoupon(SellerCouponVo sellerCoupon) {
		this.sellerCoupon = sellerCoupon;
	}

	public List<SellerPromotionVo> getSellerPromotions() {
		return sellerPromotions;
	}

	public void setSellerPromotions(List<SellerPromotionVo> sellerPromotions) {
		this.sellerPromotions = sellerPromotions;
	}

	// 以下字段，测试校验数据用，跟接口协议无关
	// 订单组下各订单关于商家优惠券的权重
	private List<BigDecimal> orderWeightsOnSellerCoupon = new ArrayList<BigDecimal>();

	public List<BigDecimal> getOrderWeightsOnSellerCoupon() {
		return orderWeightsOnSellerCoupon;
	}

	public void setOrderWeightsOnSellerCoupon(
			List<BigDecimal> orderWeightsOnSellerCoupon) {
		this.orderWeightsOnSellerCoupon = orderWeightsOnSellerCoupon;
	}

	public boolean isOptimumSeller() {
		return optimumSeller;
	}

	public void setOptimumSeller(boolean optimumSeller) {
		this.optimumSeller = optimumSeller;
	}

}
